<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>详情页</title>
    <link rel="stylesheet" href="/css/detail.css">
</head>
<body>
    <header></header>
    <main>
        <div class="pro_view" id = "detail">
            <!-- <div class="pro_detail">
                <div class="pro_left">
                    <img src="/images/detail1.jpg" alt="">
                    <ul class="small_img">
                        <li><a href="#"><img src="/images/detail1.jpg" alt=""></a></li>
                        <li><a href="#"><img src="/images/detail1.jpg" alt=""></a></li>
                        <li><a href="#"><img src="/images/detail1.jpg" alt=""></a></li>
                    </ul>
                </div>
                <div class="pro_right">
                    <h3>奥利奥提拉米苏   Olio Tiramisu</h3>
                    <div class="text01">奥利奥提拉米苏   不一样的“带我走”</div>
                    <div class="text02">芝士与可可的完美结合，奥利奥的加入更增加浓郁风味</div>
                    <div class="pro_choose">
                        <div class="pro_c_left">
                            <input type="radio" >
                            <span>6号</span>
                            ￥198
                            <br/>
                        </div>
                        <div class="pro_c_right">
                            <span>手工巧克力牌写字（14个字符或7个汉字内）</span>
                            <br/>
                            <textarea maxlength = "14" placeholder="请输入需为您免费裱写的内容，不需请忽略"></textarea>
                        </div>
                    </div>
                    <div class="add_cart">
                        <a href="#" title="加入购物车">加入购物车</a>
                    </div>
                </div>
            </div>
            <div class="introduces">
                <div class="introduce">
                    <img src="/images/detail2.jpg" alt="">
                    <h3>&nbsp;商品介绍</h3>
                    <h4>&nbsp;Product introduce</h4>
                </div>
                <div class="introduce_imgs">
                    <img src="/images/detail3.jpg" alt="">
                    <img src="/images/detail3.jpg" alt="">
                    <img src="/images/detail3.jpg" alt="">
                    <img src="/images/detail3.jpg" alt="">
                </div>
            </div> -->
        </div>
        <script type = "text/html" id = "detailTemplate">
            <div class="pro_detail">
                <div class="pro_left">
                    <img src="{{image}}" alt="">
                    <ul class="small_img">
                        {{each photo img}}
                        <li><a href="#"><img src="{{img.url}}"></a></li>
                        {{/each}}
                    </ul>
                </div>
                <div class="pro_right">
                    <h3>{{title}}</h3>
                    <div class="text01">{{couponStatus}}</div>
                    <div class="text02">{{couponValue}}</div>
                    <div class="pro_choose">
                        <div class="pro_c_left">
 
                            <span>原价:￥{{originPrice}}</span>
                            现价:￥{{price}}
                            <br/>
                        </div>
                        <div class="pro_c_right">
                            <span>手工巧克力牌写字（14个字符或7个汉字内）</span>
                            <br/>
                            <textarea maxlength = "14" placeholder="请输入需为您免费裱写的内容，不需请忽略"></textarea>
                        </div>
                    </div>
                    <div class="add_cart">
                        <a href="#" title="加入购物车">加入购物车</a>
                    </div>
                </div>
            </div>
            <div class="introduces">
                <div class="introduce">
                    <img src="/images/detail2.jpg" alt="">
                    <h3>&nbsp;商品介绍</h3>
                    <h4>&nbsp;Product introduce</h4>
                </div>
                <div class="introduce_imgs">
                    {{each descContentList desc}}
                    <img src="{{desc.image.url}}" alt="">
        
                    {{/each}}
                </div>
            </div>
           
        </script>
    </main>
    <footer></footer>
</body>
<script src="/libs/require/require.min.js" data-main="/js/detail"></script>
</html>